<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>客户新增功能</title>
	<%@include file="/skins/jsp/loadCss.jsp"%>
</head>
<body>
	<%@include file="/skins/jsp/loadJquery.jsp"%>
		<h2>客户新增功能</h2>
		<s:form action="saveCustomer" namespace="/contract" method="POST">
			<s:hidden name="ctId"></s:hidden>
			<p class="ch-form-row ch-form-required">
				<label for="ctName">客户名称: <em>*</em> </label> <input type="text"
					id="ctName" name="ctName" required="required"
					value="<s:property value="model.ctName"/>" />
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="ctAddress"> 注册地址: <em>*</em> </label> <input type="text"
					id="ctAddress" name="ctAddress" required="required"
					value="<s:property value="model.ctAddress"/>" />
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="ctPhoto"> 注册电话: <em>*</em> </label> <input type="text"
					id="ctPhoto" name="ctPhoto" required="required" size="35"
					value="<s:property value="model.ctPhoto"/>" /> 
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="ctBank"> 开户银行: <em>*</em> </label> <input type="text"
					id="ctBank" name="ctBank" required="required" size="35"
					value="<s:property value="model.ctBank"/>" /> 
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="ctAccounts"> 帐号: <em>*</em> </label> <input type="text"
					id="ctAccounts" name="ctAccounts" required="required" size="35"
					value="<s:property value="model.ctAccounts"/>" /> 
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="ctPost"> 税号: <em>*</em> </label> <input type="text"
					id="ctPost" name="ctPost" required="required" size="35"
					value="<s:property value="model.ctPost"/>" /> 
			</p>
			<p class="ch-form-actions">
				<input type="submit" value="保存" class="ch-btn ch-primary" />
				<s:reset class="ch-btn ch-primary" value="重置"></s:reset>
				<s:a cssClass="ch-btn ch-btn-small" action="findCustomers" namespace="/contract">后退</s:a>
			</p>
		</s:form>
</body>
</html>